home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Beta / Quicktime 2.0 Beta.iso / Programming Stuff / Sample Code / DTS Sample Code / MyCaptureApp ƒ 1.0b4 / MySGStuff.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-04-28  |  1.0 KB  |  49 lines  |  [TEXT/KAHL]

  1. /*
  2.     File:        MyApplication.h
  3.     
  4.     Contains:    My Application Shell.
  5.  
  6.     Written by:    John Wang
  7.  
  8.     Copyright:    © 1994 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.         <1>        03/14/94    JW        Re-Created for Universal Headers.
  13.  
  14.     To Do:
  15.     
  16. */
  17.  
  18. #ifdef THINK_C
  19. #define        applec
  20. #endif
  21.  
  22. #define        kMAXCHANNELS        5
  23. #define        STR_PREFSNAME        128
  24.  
  25. /* ------------------------------------------------------------------------- */
  26.  
  27. long        MyInitialize(void);
  28. void        MyFinishup(void);
  29. void        MyIdle(void);
  30. long        MyDoCommand(short theMenu, short theItem);
  31. long        MyYieldTime(long message);
  32. void        MyAdjustMenus(void);
  33.  
  34. void        MyNew(void);
  35. void        MyClose(void);
  36.  
  37. void        MySettings(short item);
  38. void        MyResize(short item);
  39. void        MySpecial(short item);
  40. void        MyRecord(void);
  41. void        MyDrag(WindowPtr theWindow, Point where);
  42. void        MyUpdate(WindowPtr theWindow);
  43. long        MyUpdateChannels(WindowPtr theWindow);
  44.  
  45. Boolean        GetCustomSize(short *width, short *height);
  46.  
  47. void        GetText(DialogPtr theDialog, short item, Str255 myStr);
  48. void        SetText(DialogPtr theDialog, short item, Str255 myStr);
  49.